import User from '../models/User';

const Router = require('koa-router');

let router = new Router();

router.get('/index', async (ctx, next) => {
    let user = await new User().find(12);
    ctx.body = JSON.stringify(user);
    next();
});

module.exports = router;